package net.jiastudy.biz.job;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.QuartzJobBean;

import net.jiastudy.biz.user.service.UserService;

@DisallowConcurrentExecution
public class TestTask extends QuartzJobBean {

	protected final Logger logger = LoggerFactory.getLogger(this.getClass());
	@Autowired
	UserService userService;

	@Override
	protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
		logger.debug("任务执行");
	}
}
